package com.bee.plus.mapper;


import com.bee.plus.dto.MessageReq;
import com.bee.plus.dto.MessageResp;
import com.bee.plus.vo.ChatMessageVo;
import com.bee.plus.vo.ChatResponseVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author xupei
 */
@Mapper(componentModel = "spring")
public interface ChatResponseMapper {
    ChatResponseMapper INSTANCE= Mappers.getMapper(ChatResponseMapper.class);


    ChatResponseVo toDto(MessageResp messageResp);

    MessageResp toVo(ChatResponseVo chatResponseVo);
}
